Multi-tenancy architecture

ABSTRACT

A system includes a security device, configured for cryptographic processing, coupled to receive incoming data from a plurality of data sources (e.g., data from different customers), wherein the incoming data includes first data from a first data source; a controller (e.g., an external key manager) configured to select a first set of keys from a plurality of key sets, each of the key sets corresponding to one of the plurality of data sources, wherein the first set of keys is used by the security device to encrypt the first data; and a common encrypted data storage, coupled to receive the encrypted first data from the security device.

RELATED APPLICATIONS

This is a continuation application of U.S. Non-Provisional applicationSer. No. 15/824,015, filed Nov. 28, 2017, which is a continuationapplication of U.S. Non-Provisional application Ser. No. 15/150,624,filed May 10, 2016, now issued as U.S. Pat. No. 9,858,442, which is acontinuation application of U.S. Non-Provisional application Ser. No.14/208,337, filed Mar. 13, 2014, now issued as U.S. Pat. No. 9,355,279,entitled “MULTI-TENANCY ARCHITECTURE,” by Richard J. Takahashi, whichitself claims priority to U.S. Provisional Application Ser. No.61/806,775, filed Mar. 29, 2013, entitled “MULTI-TENANCY ARCHITECTURE,”by Richard J. Takahashi, the entire contents of which applications areeach incorporated by reference as if fully set forth herein.

This application is related to U.S. Non-Provisional application Ser. No.14/198,097, filed Mar. 5, 2014, entitled “MULTI-LEVEL INDEPENDENTSECURITY ARCHITECTURE,” by Richard J. Takahashi, the entire contents ofwhich application is incorporated by reference as if fully set forthherein.

This application is related to U.S. Non-Provisional application Ser. No.14/177,392, filed Feb. 11, 2014, entitled “SECURITY DEVICE WITHPROGRAMMABLE SYSTOLIC-MATRIX CRYPTOGRAPHIC MODULE AND PROGRAMMABLEINPUT/OUTPUT INTERFACE,” by Richard J. Takahashi, the entire contents ofwhich application is incorporated by reference as if fully set forthherein.

FIELD OF THE TECHNOLOGY

At least some embodiments disclosed herein relate to security processingand data storage in general, and more particularly, but not limited to,security processing in a multi-tenancy architecture.

BACKGROUND

In existing solutions to multi-tenancy, each customer is physicallyseparated with its own network and network equipment with requiredprotection. As the data center customer base expands, this expansionrequires additional floor space. This additional floor space requirescostly new buildings, and all of its related infrastructure in order tomeet the new customer demands.

Multi-tenancy is a business model in which many companies, governments,and other entities store their data in a commonly-shared data center orstorage array. There are data centers to conserve floor space that willstore multiple customers' data in a common storage area. One problemwith such storage is that a given customer's data is stored/mixed withthe data for many of the other customers. Thus, an operator or equipmenterror may lead to the given customer's data accidently or inadvertentlybeing read or accessed by one or more of the other customers.

SUMMARY OF THE DESCRIPTION

Systems and methods to provide security processing and/or storage forincoming data (e.g., data packets) in a multi-tenancy architecture usingone or more security devices is described herein. Some embodiments aresummarized in this section.

In one embodiment, a system includes a security device, configured forcryptographic processing, coupled to receive incoming data from aplurality of data sources (e.g., data from different companies, or otherdifferent customers or users), wherein the incoming data includes firstdata from a first data source; a controller (e.g., a key manager)configured to select a first set of keys from a plurality of key sets,each of the key sets corresponding to one of the plurality of datasources, wherein the first set of keys is used by the security device toencrypt the first data; and a common encrypted data storage, coupled toreceive the encrypted first data from the security device.

In one embodiment, a system includes a plurality of security devices,each configured for cryptographic processing, coupled to receiveincoming data from at least one data source; and a plurality of keymanagers, each key manager associated with a user, each key managercoupled to a respective one of the security devices, and each keymanager configured to provide a set of keys to the security device forencryption of incoming data associated with the respective user, whereinthe incoming data is to be stored in a common encrypted data storageafter the encryption.

In one embodiment, a security device includes a plurality ofcryptographic cores (e.g., a core configured using a systolic array)including an input core configured to perform encryption for a firstdata packet; at least one key cache storing a plurality of key sets,wherein a first set of keys is selected from the plurality of key setsto encrypt the first data packet by the input core; and a packet inputengine configured to detect a header of the first data packet and toaddress the first set of keys. In one embodiment, the keys are initiallyprovided to the security device by an external key manager through anapplication programming interface.

The disclosure includes methods and apparatuses which perform the above.Other features will be apparent from the accompanying drawings and fromthe detailed description which follows.

BRIEF DESCRIPTION OF THE DRAWINGS

The embodiments are illustrated by way of example and not limitation inthe figures of the accompanying drawings in which like referencesindicate similar elements.

FIG. 1 shows a security processing system including a security devicewith a plurality of programmable cryptographic modules and aprogrammable input/output interface, according to one embodiment.

FIG. 2 shows a systolic-matrix security processing system for receivingand encrypting data packets from a non-encrypted data source, andconcurrently processing control and data from a control plane forstorage in a common encrypted data storage, according to one embodiment.

FIG. 3 shows a systolic-matrix cryptographic module includingprogrammable input and output packet engines and a programmablecryptographic processing engine, according to one embodiment.

FIGS. 4 and 5 each show an example of a systolic-matrix array withtwo-dimensional computing paths, according to various embodiments.

FIG. 6 shows a security device implemented between a data source andencrypted data storage using an in-line configuration, according to oneembodiment.

FIG. 7 shows a security device implemented between a data source andencrypted data storage using a side-car configuration, according to oneembodiment.

FIG. 8 shows a security device interfacing with external and networkservices, according to one embodiment.

FIG. 9 shows an internal key manager of the cryptographic module thatcommunicates with an external key manager via an application programminginterface, according to one embodiment.

FIG. 10 shows a specific implementation of a programmable cryptographicmodule configured as a systolic array of FPGAs, according to oneembodiment.

FIG. 11 shows a multi-tenancy system including a security device,according to one embodiment.

FIG. 12 shows a multi-tenancy system including multiple security devicesand key managers, according to another embodiment.

FIG. 13 shows a security device in communication over a network with acommon data storage, according to one embodiment.

FIG. 14 shows a block diagram of a multi-tenancy cryptographic moduleincluding cryptographic cores and key caches, as used in a multi-tenancyarchitecture according to one embodiment.

DESCRIPTION

The following description and drawings are illustrative and are not tobe construed as limiting. Numerous specific details are described toprovide a thorough understanding. However, in certain instances, wellknown or conventional details are not described in order to avoidobscuring the description. References to one or an embodiment in thepresent disclosure are not necessarily references to the sameembodiment; and, such references mean at least one.

Reference in this specification to “one embodiment” or “an embodiment”means that a particular feature, structure, or characteristic describedin connection with the embodiment is included in at least one embodimentof the disclosure. The appearances of the phrase “in one embodiment” invarious places in the specification are not necessarily all referring tothe same embodiment, nor are separate or alternative embodimentsmutually exclusive of other embodiments. Moreover, various features aredescribed which may be exhibited by some embodiments and not by others.Similarly, various requirements are described which may be requirementsfor some embodiments but not other embodiments.

FIG. 1 shows a security processing system including a security device102 with a plurality of programmable cryptographic modules 104 and aprogrammable input/output interface 106, according to one embodiment. Aninterchangeable physical interface 108 is configured to receive aplurality of incoming packets from a data source (e.g., through physicalinterface 110). In one embodiment, the plurality of cryptographicmodules is configured using at least two systolic layers for processingof packets, control data, and keys as discussed further below.

Programmable input/output interface 106 is coupled to theinterchangeable physical interface and is configured to route each ofthe plurality of incoming packets to one of the cryptographic modules104 for encryption to provide a plurality of encrypted packets. Theprogrammable input/output interface 106 is configured to route theencrypted packets to a common internal or external data storage.

For outgoing packets, programmable input/output interface 106 routesencrypted packets to one of the cryptographic modules 104 fordecryption. The decrypted packets are then routed by programmableinput/output interface 106 to the data source.

In one embodiment, programmable input/output interface 106 isprogrammable to support different interface protocols, and each of theplurality of cryptographic modules 104 is programmable to supportdifferent encryption protocols (e.g., each module 104 may be programmedto support a different protocol). Programmable input/output interface106 may include one or more field-programmable gate arrays that areprogrammable to support the different interface protocols. In oneembodiment, programmable input/output interface 106 may be coupled tothe cryptographic modules 104 by a high-speed bus such as, for example,a PCI-e bus.

In one embodiment, the interchangeable physical interface 108 isconfigurable to support two different physical interfaces. In oneexample, the interchangeable physical interface 108 comprises areplaceable physical input/output panel (or card) that can be replacedindependently of the programmable input/output interface 106 and theplurality of cryptographic modules 104.

FIG. 1 also illustrates a control and display unit 114 coupled tocontrol operation of cryptographic modules 104, and also to send orreceive data over remote ports 112. Remote ports 112 may be, forexample, RS-232, USB, or GigEthernet ports. Remote ports 112 mayimplement communications using, for example, an SNMP protocol.

Control and display unit 114 provides drivers to a display and statuscontrol screen on the user panel 116. User panel 116 also provides softor hard buttons for user control and data input during the operation ofsecurity device 102. Various functions controllable on user panel 116include a zeroize control (to zeroize the keys), a crypto ignition key(to start the encryption process), a key fill port (to load the keys),and a system reset.

In one embodiment, security device 102 (which may be, e.g., implementedas a security appliance) is used to prevent data breaches by a hackertrying to gain access to encrypted data. In this embodiment, securitydevice 102 provides security, encryption, high-assurance,high-availability sustained bandwidths up to 400 Gbs (full duplex),programmability for data-at-rest and in-network applications. Thesecurity device 102 has an interchangeable I/O flexible module asdescribed above to support different physical (PHY) interface connectorsand electronics.

In one embodiment, use of the interchangeable I/O interface 108 andprogrammable I/O interface 106 (implemented using an FPGA I/O systolicarray) provides the following advantages:

-   -   1) The FPGA I/O systolic array can be programmed for different        interfaces and the interchangeable I/O is designed with the        selected interface's physical electronics and connectors. This        permits the main physical chassis of security device 102 to        remain unchanged and to readily use different interface options        that can be changed by a user.    -   2) The security device architecture in conjunction with the        interchangeable I/O provides a high-density connectors        capability. These flexible I/O design features can be programmed        for many different types of interfaces to maximize interfacing        flexibility to an end network application.    -   3) Scalable performance in programmable specified data rate        increments for each cryptographic module up to, e.g., six        modules which will have up to six times the programmed full        duplex data rates. Other lesser or greater numbers of        cryptographic modules may be used in other designs.

In one embodiment, flexible I/Os and flexible cryptographic (sometimessimply referred to as “crypto” herein) modules are accomplished by usinga scalable systolic architecture and crypto-modules and interchangeableinput/output (I/O) card, as described herein. The security device 102has programmable delay latencies for a specified data block size ofprogrammable bytes sizes. The security device architecture has twoprogrammable elements: the programmable crypto-module and theprogrammable flexible I/O.

In one embodiment, the flexible I/O has two components: The FPGAs can beprogrammed to support different interface protocols, and aninterchangeable physical I/O card is used to support the physicalinterfaces and connectors. The flexible I/O also has a switchingnetwork. The scalable and programmable crypto-module has a programmablefull duplex bandwidth consisting of high performance CPUs and FPGAsclocking up to maximum allowable clock rates internal to the FPGA. ThisCPU and FPGA in systolic-matrix configuration and implementationprovides a fully-programmable system to meet many differentapplications.

In one embodiment, the security device crypto-module design will beusing high performance CPU or equivalent processors and FPGAs forming aprogrammable systolic scalable module. The programmability efficienciesof design are realized by segmenting functional subsystems from packetengines, crypto engines, key handler and overhead-control managementengines. The I/O interface incorporates functional blocks (e.g., 100 GbsEthernet, PCI-express, Fibre channel, SAS, Infiniband, SCSI, or anyother high speed interface protocols) that are incorporated.

In one embodiment, the security device 102 can be both a media-levelencryptor and a file system encryptor. All data payload passing thrusecurity device 102 is encrypted except for the file systemheaders-commands (which remain in the clear). Therefore, the existingfile system will be intact with no drivers required for the end system.The only interface required is for the end system remote management andkey management products. This makes the security device transparent to auser or network storage system.

FIG. 2 shows a security processing system for receiving and encryptingdata packets from a non-encrypted data source 202 for storage in acommon encrypted data storage 204, according to one embodiment. Thesystem includes cryptographic modules 104. Each cryptographic module iscoupled between programmable high-speed input/output (I/O) interfaces206 and 208, which are each coupled to an interchangeable physicalinterface (see, e.g., interface 108 in FIG. 1 ). In one embodiment,interfaces 206 and 218 communicate with each other during security dataprocessing using, for example, a serial bus 216 (e.g., an Interbusserial bus).

Processor 210 handles control plane and data processing for thecryptographic modules 104 and the high-speed input/output interfaces206, 208, 218. In one embodiment, processor 210 is a control planeprocessor configured to control systolic data flow for the cryptographicmodules 104, and also to control loading of keys from an external keymanager to an internal key cache (see, e.g., FIG. 9 below).

Physical interface 212 receives a plurality of incoming packets fromdata source 202. The first programmable high-speed input/outputinterface 208 routes each of the plurality of incoming packets to one ofthe cryptographic modules 104 for encryption processing to provideencrypted packets. The second programmable high-speed programmableinput/output interface 206 routes the encrypted packets from thecryptographic module 104 to common encrypted data storage 204 viaphysical interface 214.

In one embodiment, the routing and switching functions of high-speedinterfaces 206 and 208 are provided by programmable input/outputinterface 106 of FIG. 1 . In one embodiment interchangeable physicalinput/output interface 108 includes physical interface 212 and/or 214.

In one embodiment, each of the encrypted packets has a respective tag toidentify an original entry port (e.g., a port of high-speed I/Ointerface 208), keys or key addresses associated with each of theencrypted packets is decrypted by one of the cryptographic modules toprovide corresponding decrypted packets, and the first programmableinput/output interface 208 is further configured to use the respectivetag to route each decrypted packet back to its original entry port.

In one embodiment, each programmable input/output interface 206, 208,218 is programmable to support different interface protocols. Forexample, the first programmable input/output interface 208 may include aplurality of field-programmable gate arrays that are programmable tosupport the different interface protocols.

In one embodiment, the first programmable input/output interface 208 andthe second programmable input/output interface 206 each comprise aswitching network and a router (not shown) to route incoming packets(from data source 202 or data storage 204, respectively) to one of thecryptographic modules 104.

In one embodiment, each cryptographic module 104 is designed andprogrammed, and mathematically optimized for any cryptographicalgorithms and network IP protocols. The design can be scaled up to, forexample, six or more crypto modules. The security device 102 can bemathematically optimized, for example, for any cryptographic algorithmsfor full-duplex data rate performance.

In one embodiment, the security device architecture is adaptable to anyenterprise class data-at-rest or IP network solution due to the flexibleswitching I/O architecture. The flexible input and output switching I/Ointerfaces provide a significant cost advantage and homogeneous dataflow and relax the need for data separation. The security device may useFPGAs that bridge to the native I/O interface for the required number ofcrypto-modules. This allows a single crypto-module to be used with manypossible system implementations and configurations based on the endapplication I/O type and throughput requirements and also be scalablewith programmable data rate increments.

In one embodiment, the flexible switch I/O architecture described hereinincludes programmable I/O modules (using FPGAs) that function as a lowlatency bridge and switch between the native I/O to the targetdata-at-rest system and to the internal array of crypto-moduleprocessors. A pair of separated, designated programmable FPGA-based I/Ointerface modules bridges security device 102 to an industry standardnetwork. This scalability and flexibility enables security device 102 tobe inserted into existing or new storage network systems supportingscalable data rates.

In one embodiment, the flexible programmable I/O interface is adaptableto any enterprise, or mobile, class data-at-rest interface application.The flexible I/O architecture includes programmable I/O modules (usingFPGAs) that function as a low latency bridge between the native I/O ofthe target data-at-rest system and the internal array of crypto-modules.Flexible I/O programmability is based on FPGA-based modules that can beprogrammed to any industry standards or a custom interface to thestorage system fabric or IP network.

In one embodiment, security device 102 performs at data rates onlylimited by the technology used. The key-handling agility is matched tothe data rates. The internal key management is central to theperformance of the cryptographic module in this embodiment.

FIG. 3 shows a cryptographic module 104 including programmable input andoutput packet engines and a programmable cryptographic processingengine, according to one embodiment. More specifically, cryptographicmodule 104 comprises a programmable packet input engine 304, aprogrammable cryptographic engine 302, and a programmable packet outputengine 306. In one embodiment, packet engines 304 and 306 are coupled tocryptographic engine 302 using a high-speed serial or parallel bus 322(e.g., an Interbus bus) for control operations, and using high-speeddata busses for data transfer.

In one embodiment, the programmable packet input engine 304, theprogrammable cryptographic engine 302, and the programmable packetoutput engine 306 are each configured as a systolic-matrix array andeach include one or more field-programmable gate arrays (FPGAs)programmable to support different security protocols. In one example,the programmable packet input engine 304, the programmable cryptographicengine 302, and the programmable packet output engine 306 are eachcoupled to a respective dedicated program memory for each FPGA (e.g.,memory 310 or 312), and to a respective dedicated processor (not shown)to control programming of each FPGA. Each memory 310, 312 may be used,e.g., to provide data, keys buffering and/or storage.

In a method according to one embodiment, the first programmableinput/output interface 208 (see FIG. 2 ) includes a field-programmablegate array (FPGA), and the method includes programming the FPGA tosupport a different interface protocol than previously used forreceiving incoming data packets. In this method, each of the pluralityof cryptographic modules 104 includes programmable systolic packet inputengine 304, programmable systolic-matrix cryptographic engine 302, andprogrammable systolic-matrix packet output engine 306. The methodfurther includes programming an FPGA of the packet input engine 304, anFPGA of the cryptographic engine 302, and an FPGA of the packet outputengine 306.

In one embodiment, a top systolic layer includes FPGAs 308, 318, and320, which are coupled to systolic packet engines 304, 306 andcryptographic engine 302, each also including an FPGA, in order to forma two-dimensional systolic-matrix array for data and control processing.

In one embodiment, each crypto module 104 has input and output packetengines and the crypto core. The crypto module has a systolic cryptoengine that is tightly coupled to the input and output systolic packetengines. Each element in the crypto module has a dedicatedhigh-performance CPU plus its memory, and dedicated memory to theinput-output systolic packet engines and crypto core buffer/storagememory.

In one embodiment, each FPGA(s) array has a dedicated program memory.Also, a compression engine (included, e.g., in auxiliary engines 314) isincluded for data compression or other data processing required.

In one embodiment, the crypto module of FIG. 3 uses secure boot 316 toverify the FPGA code and that any software (SW) within the crypto moduleis encrypted-secure and authenticated. During the secure boot process,if any anomalies are detected, the system will not boot and further mayprovide a user alert that issues have been detected. The secure boot 316may be designed to work with existing industry key manager systems.

In one embodiment, the crypto module design of FIG. 3 provides featuressuch as hard-wired, one-time programmable options and customanalog/digital circuits for flexible physical partitioning forun-encrypted (plain text) and encrypted (cipher text) separation.

FIGS. 4 and 5 each show an example of a systolic-matrix array withtwo-dimensional computing paths, according to various embodiments. FIG.4 shows FPGAs 402 organized in a systolic-matrix array for data, keysand control processing of security packets. Although FPGAs are shownforming the systolic-matrix array in FIG. 4 , other forms ofprogrammable devices, or other types of data processing units orprocessors may be used to form the systolic-matrix array in otherembodiments (e.g., ASICs may be used). FIG. 5 shows an alternativeconfiguration for systolic-matrix array comprising FPGAs 502 for datacontrol processing of security packets.

In one embodiment, each cryptographic module 104 is implemented using asystolic-matrix array configuration. For example, cryptographic module104 as illustrated in FIG. 3 is configured in a systolic-matrix arraysuch as the basic form illustrated in FIG. 4 . In addition, in oneembodiment, the input and output packet engines 304, 306 and/or thecryptographic processing engine 302 for each cryptographic module 104are also each themselves designed with an internal systolic-matrix arrayarchitecture. For example, the cryptographic processing engine 302 maybe configured in a systolic-matrix array configuration such asillustrated in FIG. 5 . In another example, each packet engine mayitself have the systolic array configuration of FIG. 4 or FIG. 5 , oryet other systolic array configurations, as part of its internalsub-block processing architecture.

Thus, as described above, in some embodiments, security device 102 isconfigured with a two or greater multiple-layer systolic-matrix arrayarchitecture. In this architecture, each cryptographic module 104 has asystolic-matrix array configuration (i.e., a top systolic array layer),and each of the packet engines and/or cryptographic processing enginehas an internal systolic-matrix array configuration (e.g., in a lowersystolic array layer formed of FPGAs that is logically underneath thetop systolic-matrix array layer). The multiple-layers above combinedwith two-dimensional systolic arrays provides a three-dimensionalsystolic-matrix architecture for security device 102.

FIG. 6 shows security device 102 implemented between a data source 604and encrypted data storage 204 using an in-line configuration, accordingto one embodiment. In one example, security device 102 is installed asan enterprise high-performance data storage encryption andauthentication appliance. The security device is installed as in-line(bump in the wire) between the data storage arrays. Security device 102also interfaces with management console 602 and external key managerconsole 603.

FIG. 7 shows security device 102 implemented between data source 604 andencrypted data storage 204 using a side-car configuration, according toone embodiment. In one example, security device 102 is installed as adata storage encryption and authentication appliance as side car (off tothe side of the data storage). Security device 102 also interfaces withmanagement console 602 and external key manager console 603.

FIG. 8 shows security device 102 interfacing with external and networkservices, according to one embodiment. In particular, security device102 is interfaced with a management console consisting of external keymanager 802, network services management 804, and any other requiredexternal management services 806.

FIG. 9 shows an internal key manager 902 of cryptographic module 104that communicates with an external key manager 906, according to oneembodiment. Each of the plurality of cryptographic modules 104 comprisesinternal key manager 902, which is coupled via an applicationprogramming interface (API) 904 to external key manager 906. Keysreceived via API 904 are stored in one of multiple key caches 908 foruse by the cryptographic modules 104 during encryption or decryption ofincoming packets. In one embodiment, control plane processor 210controls loading of the keys from API 904 to one of key caches 908.

In one embodiment, each of the incoming packets to a cryptographicmodule 104 includes a key tag to identify at least one key associatedwith the packet to be security processed, and further may also include asource tag to identify a data source and keys for the packet. Theinternal key manager 902 is configured to retrieve the keys from one ofkey caches 908 using the key tag for the packet to be processed by therespective cryptographic module 104.

In one embodiment, programmable input/output interface 106, 206, and/or208 is further configured to route a packet to one of the plurality ofcryptographic modules 104 based on the source tag.

In one embodiment, each of the plurality of cryptographic modules 104may be physically partitioned from the other of the cryptographicmodules. In one embodiment, other key features of security device 102may include the ability to interface or port third party key managementsoftware and network management software.

Various additional, non-limiting embodiments of security device 102 arenow described below. In one or more embodiments, security device 102 mayprovide one or more of the following advantages:

1. A fast data rate encryptor at hundreds of gigabits full duplex (e.g.,for meeting future optical network data rates).

2. A programmable systolic architecture consisting of FPGAs and CPUs.The security device is flexible and programmable requiring only softwareupgrades for different versions and features.

3. Multi-tenancy to secure an entity's or individual user's data. Eachentity/user's data will be encrypted/decrypted using a unique key perthe entity/user. In this way, each entity/user's data will be uniquelyencrypted/decrypted and stored in a common data storage area. If byoperator or machine error the wrong data is accessed and mistakenly sentto another of the entity/users using the storage area, the data is stillsafe since it will not be decrypted by the correct entity/user key.Various embodiments for a multi-tenancy architecture are discussed belowin the section titled “Multi-Tenancy Architecture”.

4. A multi-level security architecture to secure different levels ofclassified data using a single security device (e.g., an encryptor).Each classification of data will be encrypted/decrypted using a uniquekey per the data class. In this way, each classification of data will beuniquely encrypted/decrypted and stored in a common storage area. If byoperator or machine error the wrong data is accessed and mistakenly sentto another level of classification, the data is still safe since it isnot decrypted by the correct user key.

5. A high-speed key agility and storage for millions of keys.

6. A flexible high-density I/O to interface to network equipment atmultiple customer (or other source) sites. Also, the flexible I/O can beprogrammed for mixed interface types (e.g., 10 Gbs Ethernet, Infiniband,or PCI-express), thus requiring no interface bridging network equipment.

7. A replaceable, flexible I/O physical panel that can be customized fora specific network installation without the need to re-design the mainchassis of security device 102.

8. A secure boot to protect, authenticate the CPUs, FPGAs firmware andsoftware (SW) codes.

FIG. 10 shows a specific implementation of a programmable cryptographicmodule configured as a systolic-matrix array of FPGAs, according to oneembodiment. In particular, the system of FIG. 10 is an exemplaryimplementation of cryptographic module 104 as was discussed for FIG. 3above.

Specifically, un-encrypted or plain text data (e.g., incoming datapackets) enters physical interface 1014 and is routed by programmableinput interface 1010 to packet input engine 1002. Data packets arerouted by input engine 1002 to an appropriate cryptographic core incryptographic processing engine 1006.

A security association (SA) key lookup is used in packet engine 1002 or1004 to determine appropriate keys for loading from a key memories arrayto cryptographic engine 1006 via a key manager interface or as definedin the packet header. These keys are used for security processing of thecorresponding data packet.

After encryption by processing engine 1006, encrypted packets areprovided to packet output engine 1004 for routing to programmable outputinterface 1012. The encrypted data leaves via physical interface 1016.

Programmable interfaces 1010 and 1012 may be formed using FPGAs or otherprogrammable devices (e.g., as described above for I/O interfaces 106 or208 of FIGS. 1 and 2 ). In one embodiment, physical interfaces 1014 and1016 may form a part of interchangeable physical input/output interface108. In one embodiment, physical interface 108 is implemented as aremovable physical card.

In one embodiment, FPGAs 1008, 1018, and 1020 form a portion of thesystolic-matrix array configuration illustrated in FIG. 10 and may becoupled to the packet input and output engines and cryptographicprocessing engine using serial buses. The packet input and outputengines and cryptographic engine are formed using FPGAs to provide atwo-dimensional systolic array of a top systolic layer. In one example,data and control processing is performed in two dimensions using the sixFPGA units (e.g., FPGA 1008 and packet input engine 1002) as illustratedin FIG. 10 .

In one embodiment, the sub-blocks in the packet input engine 1002 orpacket output engine 1004 such as packet routing, packet multiplexer,and IP context lookup are implemented in a systolic-matrix arrayconfiguration as was discussed above. Data comes into the packet engine,and the packet engine looks at the packets, including the context, anddecides where to route each packet. Then, the packet engine determinesthat a packet requires a particular security association, which isimplemented using a key lookup. The packet engine associates the key tothe incoming data. The key is read out, and the data is encrypted ordecrypted in one of the crypto cores.

In one embodiment, high-speed memory is coupled to the input and outputpacket engines, and may be any type of high-speed memory in variousembodiments.

In one embodiment, all primary processing works in a matrix. Data isconstantly flowing in two dimensions. For example, data is flowinghorizontally, keys are flowing up vertically, and control information isflowing down vertically as part of the two-dimensional processing.

Variations

Additional variations, details, and examples for various non-limitingembodiments of the above security processing system are now discussedbelow. In a first variation, with reference to FIG. 1 , the programmableinput/output interface 106 is a router/switch that selects one of thecrypto modules 104 to receive forwarded packets. A router and switch areincorporated inside the input/output interface 106. For example, if afirst packet comes through a second port, the first packet will berouted to crypto module number six. Crypto module number six will laterroute the first packet back out through that same second port oforiginal entry.

There may be two components to the programmable I/O interface. On oneside, the interface programs the type of I/O that is desired. The otherside of the interface is the router/switch. The router/switchmultiplexer knows which crypto module 104 is to receive a given packet.Also, the router/switch knows which crypto module is ready forprocessing of a packet. For example, if crypto module number one isready for processing, it will flag itself as being ready for processing.For example, there is a semaphore flag or packet header bits used thattells I/O interface 106 which module is ready to process data. Whateverport is used to bring in the data, that data will be processed in one ofthe crypto modules, and then tagged out back to the same port when laterbeing decrypted and sent out from storage (e.g., the packet is taggedwith some identification of the port using a tag). The tag is used toredirect the packet back to the correct port of original entry.

The crypto module has a security association that determines which keysgo with which packet. The programmable input/output may allowprogramming of different applications because of the use of FPGAs. Theback end of the router/switch will accommodate the type of input/outputto be used. The router/switch will identify the crypto module to beused. When reprogramming the programmable interface 106, a new physicalinterface needs to be interchanged or installed. The main securitydevice chassis is not changed out—only the I/O portion is being changed.

In one embodiment, remote ports 112 are basically control ports. Theprotocol for the remote port may typically be a Simple NetworkManagement Protocol (SNMP) protocol or any other management protocols.The key fill port is where the keys are filled into the security device.The crypto ignition key ignites the security device.

With reference to FIG. 2 , the Interbus serial bus (mentioned above)coordinates the operation of the two input/output interfaces 206, 218.The Interbus handles any protocol issues between the router and theswitch functions of these interfaces. The Interbus is used to providecommunication between the FPGAs of the systolic array during operationof the security device. In one example, the Interbus helps to coordinateoperation as to which crypto module 104 will receive an incoming packet.

Processor 210 manages control plane operation. Processor 210 alsoconfigures components when a new security protocol will be used, usesrouting tables, sets the configuration, sets up the programmability, andsets up the power-on self-test. Processor 210 also may facilitate keyloading. The key fill port on the front of user panel 116 operates undercontrol by processor 210.

With reference to FIG. 3 , a secure boot is used to guarantee that thedata booted into the FPGAs of the cryptographic module 104 is proper.The secure boot is executed when the unit is turned on or at boot-up.The code is authenticated by the system. The FPGAs are programmed atevery boot up of the unit, or any time that the unit is reset. Eachcrypto module may have its own CPU which controls programming.

With reference to FIG. 8 , external key manager 802 is a location that

the keys may be stored for passing to the security device 102. A networkoperator loads the keys into the external key manager 802. The securitydevice 102 loads the keys into the crypto modules. There is key taggingin the packet headers and inside the crypto module. When a packet comesinto the security device 102, the packet is associated with a given key,and the packet contains information used to route the packet. Theexternal key management can load keys in real-time or only a singletime. Network services management 804 is remote management whichprovides control status, setting-up of the security device unit, andsending of the status back to a user. The other external managementservices 806 could be used to track how many other units are in thefield, what the units are doing, whether each unit is running, and whatconfiguration the unit is in.

In one embodiment, data packets include key tags, customer tags, andpacket tags. The packet tag tells what type of packet is coming in. Thecustomer tag identifies the company or source of the data. The key tagtells what key goes with what packet. Each tag is looked at by thepacket engine to determine how the packet is going to be routed withinthe crypto module 104.

Now discussing an embodiment regarding flexible physical partitioning,each cryptographic module 104 may be physically isolated by design. So,only a certain packet will go through a module number one and onlycertain other packets will go through module number two. For example,crypto module number one may only process a certain style of packet.Crypto module number two may only process packets for a particularcustomer. Thus, it is physically partitioned. For example, customernumber one's data is tagged as belonging to customer number one, forsending it to the specific crypto module. The router determines thisrequirement, and only that particular crypto module can process thatcustomer's packet.

Regarding internal key management in the crypto module's performance,the key manager loads the keys, and further decides how the keys aredispersed within the crypto module based on the tagging of the incomingdata packet. Keys are stored in the selectable key cache 908. The keymanager decides based on the tagging of the data packet what keys willbe associated with the current packet. This provides key agility.

With reference to FIG. 9 , API 904 may be programmed to map into any ofseveral different external key managers 906. The use of API 904 thusprovides increased flexibility.

Multi-Tenancy Architecture

FIG. 11 shows a multi-tenancy system including a security device 1102,according to one embodiment. Security device 1102 is configured forcryptographic processing. Security device 1102 receives incoming datafrom a plurality of data sources 1106. For example, the incoming dataincludes first data from a first data source (Source 1). Morespecifically, the cryptographic processing includes encryption of datapackets written to the common encrypted data storage 204, and decryptionof data packets read from the common encrypted data storage 204.

A controller (not shown) is configured to select a first set of keysfrom a plurality of key sets 1104. Each of the key sets 1104 correspondsto one of the plurality of data sources 1106. The first set of keys(e.g., Key Set 1) is used by the security device to encrypt the firstdata. Common encrypted data storage 204 receives the encrypted firstdata from security device 1102.

The controller may be, for example, a key manager as discussed furtherbelow. In one embodiment, the security device 1102 includes thecontroller. In one embodiment, the controller is an internal key manager(e.g., as discussed above for FIG. 9 and internal key manager 902).

In one embodiment, the first data is a first data packet, and securitydevice 1102 is configured to detect a tag of the first data packet thatidentifies the first data source (e.g., Source 1). The controllerselects the first set of keys (Key Set 1) based on the detection of thetag.

Each of the plurality of data sources is typically located at adifferent physical location for a respective user (e.g., an entity suchas a company or individual) using the common encrypted data storage 204to store data sent over a network (e.g., the Internet or anothercommunication link) to the security device 1102.

FIG. 12 shows a multi-tenancy system including multiple security devices1204 and key managers (Key Manager 1, 2, 3, 4), according to anotherembodiment. Each of the key managers may be, for example, an externalkey manager such as described for FIGS. 8 and 9 above.

Each of the security devices 1204 is configured for cryptographicprocessing and receives incoming data from at least one data source1202. Each of the key managers is associated with a user (e.g.,corporation or an individual). For example, a given user may control anexternal key manager that provides keys to one of the security devices1204 for cryptographic processing of that user's data. A switch 1206receives the incoming data from data source 1202 and routes the incomingdata to one of the security devices. For example, switch 1206 may routethe data to the security device that corresponds to the user that sentthe data for storage.

Each key manager is coupled to a respective one of the security devices1204, and each key manager is configured to provide a set of keys to aparticular security device 1204 for encryption of incoming dataassociated with the respective user. The incoming data is then stored incommon encrypted data storage 204 after the encryption.

Switch 1208 is used to route the encrypted data from the security deviceto encrypted data storage 204. When data is read from common encrypteddata storage 204, switch 1208 routes the data to the appropriatesecurity device 1204 for decryption processing.

In one embodiment, security devices 1204 include a first security device(Security Device 1). The key managers include a first key manager (KeyManager 1). The first security device comprises a key cache (not shown)configured to store a first set of keys (e.g., Key Set 1 as shown inFIG. 11 ) that are received from the first key manager. The first set ofkeys is loaded into a cryptographic core (not shown) of the firstsecurity device and then used to encrypt data packets in the incomingdata.

FIG. 13 shows a security device 1302 in communication over a network1306 (via communication links 1310) with common data storage 204,according to one embodiment. In this embodiment, the controllerdiscussed for security device 1102 above is an external key manager 1304that provides keys to the security device 1302 via an applicationprogramming interface (as was discussed for FIG. 9 above). In oneembodiment, the first data source 1106 of FIG. 11 corresponds to a firstuser, and external key manager 1304 receives commands from this firstuser to control access to the first set of keys by the security device1302.

In FIG. 13 , security device 1302 is shown located at a physicallocation or site 1308 of the first user. In other embodiments, securitydevice 1302 may be located at the physical location of common encrypteddata storage 204. In these other embodiments, key manager 1304 may stillremain at physical location 1308 under the control of the first user.

FIG. 14 shows a block diagram of a multi-tenancy cryptographic moduleincluding cryptographic cores 1406, 1408 and key caches 1410, 1412, asused in a multi-tenancy architecture according to one embodiment. Thecryptographic module is, for example, included in security device 1102of FIG. 11 , or in one or more of security devices 1204 of FIG. 12 .Cryptographic core 1406 is an input core configured to performencryption for data packets received from packet input engine 1402.Cryptographic core 1408 is an output core configured to performdecryption for data packets received from packet output engine 1404.

Input key cache 1410 and output key cache 1412 each store a plurality ofkey sets. A first set of keys is selected from the key sets stored inkey cache 1410 to encrypt a first data packet by the input core 1406.Packet input engine 1402 is configured to detect a header of the firstdata packet and to address the first set of keys. In one embodiment, thecryptographic module includes a processor (not shown) configured toverify that the packet input engine 1402 is authorized to address thefirst set of keys.

The cryptographic module includes a key loader controller 1414 to loadkeys, for example, from an external key manager via an applicationprogramming interface. The key loader controller 1414 loads the firstset of keys for storage in key cache 1410 prior to receipt of the firstdata packet by the cryptographic module. In one embodiment, key cache1410 and key cache 1412 are each configured so that a key cache failurecauses the respective key cache to be zeroized.

Stored keys are loaded into the appropriate cryptographic core 1406 or1408 from key cache 1410 or 1412. The packet input engine 1402 providesa signal (e.g., an addressing signal) used by input key cache 1410 toselect the first set of keys for use by the cryptographic core 1406 inencrypting incoming data packets. Packet output engine 1404 addresseskeys in key cache 1412 in a similar way for decrypting outgoing packets.

Packet output engine 1404 provides encrypted data packets from the inputcore 1406 when writing data to common encrypted data storage 204. Packetoutput engine 1404 detects a header of each data packet when readingfrom the common encrypted data storage 204 in order to address a set ofkeys in output key cache 1412 for decrypting each data packet by outputcore 1408. Output core 1408 provides the decrypted data packets topacket input engine 1402, which sends the data packets to one of datasources 1106 of FIG. 11 .

In one embodiment, input key cache 1410 stores a set of keys forencryption and output key cache 1412 stores a set of keys fordecryption. The cryptographic module is configured to zeroize input core1406, the input key cache 1410, and key loader controller 1414 afterencrypting the first data packet. Output core 1408, output key cache1412, and key loader controller 1414 are zeroized after decrypting datapackets read from common encrypted data storage 204.

In one embodiment, as described in more detail below, a securemulti-tenancy system is provided to encrypt a customer's data tominimize or avoid situations where data is mistakenly read by anothercustomer. The system reduces the risk of unauthorized access to acustomer's data.

The packet input engine 1402 performs header detections, ormodifications, and will authenticate and associate the customer's data.Once the data is authenticated and identified, packet input engine 1402will address the unique specific customer's key in input key cache 1410.The input key cache 1410 stores this customer's specific keys. The inputkey cache also has a fail safe and key authentication processor (notshown) to verify the packet input engine 1402 is authorized to addressthe keys within the input key cache.

Key loader controller 1414 loads and verifies keys and addresses fromthe packet input engine 1402. A fail safe feature of the input key cache1410 and key loader controller 1414 is that any key cache failure willresult in a zeroized key cache. The key loader controller 1414 and therespective input or output key cache is designed to ensure the properkey is associated with the data that will be encrypted or decrypted. Thekey controller and each key cache is designed to be fail safe, in thatif there is any failure in the key controller or one of the key caches,the cryptographic module will fail to a known state and the data willnot be compromised.

Each of the key caches is designed to store, for example, one or moremillions of keys. In one embodiment, each key cache writes keys one wayto its respective cryptographic core (i.e., input core or output core).

Packet output engine 1404 performs header detections, or modifications,and authenticates and associates the customer's data read from commonencrypted data storage 204. Once the data is authenticated andidentified, packet output engine 1404 addresses output key cache 1412.The output key cache 1412 operates similarly to the input key cache1410, discussed above.

Each cryptographic core is an encryption/decryption engine to encrypt ordecrypt the data from the packet input/output (I/O) engines discussedabove. The keys are loaded from the respective key caches, as wasdiscussed above.

In some embodiments, the multi-tenancy architecture detects the packetheader and associates the keys that will be encrypted/decrypted. Thereis an option provided for the keys in the key cache to be encryptedusing a key encryption key or to be un-encrypted. The multi-tenancyarchitecture is configured to provide selected encrypted data intocommon storage area 204 (e.g., for data storage or for internal networkprocessing and use). In one embodiment, the multi-tenancy architectureauthenticates the I/O packet engines to the associated encryption anddecryption keys within the respective input or output key cache forsimultaneous two-way data traffic. The system requires that data beencrypted with a set of keys associated to a specific customer's data.

The multi-tenancy architecture may have fail safe features to ensure incases of failure that the multi-tenancy architecture will fail to a safestate. Each key cache may be coupled to a fail safe key loadercontroller to authenticate the packet engines and send the correct keyaddresses. The key cache may be fail safe with authentication. Thecryptographic core may use fail safe features and key agility to processkeys from the respective key cache and data from the input/output packetengine.

Additional variations, details, and examples for various non-limitingembodiments of the multi-tenancy architecture/system are now discussedbelow. In a first variation, data is coming in from many differentcustomers. Data is stored in one large database and in an encryptedform. For example, a first company's key and a second company's key areeach loaded into the multi-tenancy system. The first company's key isselected for processing the first company's data.

In another variation, no entity but the customer is able to see the keysof the customer. The customer controls the keys by interacting with thekey manager discussed above. The customer's keys cannot be lost by adata storage center operator, and cannot be used by another company.

In one example, each customer owns its own security device unit andcontrols and manages its own key manager. The other equipment of thedata storage center can be commonly owned and operated by the datastorage center operator. Each customer's security device unit isinstalled at the data storage center or at the customer's physicallocation.

In one variation, the internal control plane key bus as illustrated inFIG. 14 , provides user or operational keys into key loader controller1414. The front panel key load as illustrated in FIG. 14 is used to loadkeys from a key loader into the key loader controller 1414.

Closing

At least some aspects disclosed can be embodied, at least in part, insoftware. That is, the techniques may be carried out in a computersystem or other data processing system in response to its processor,such as a microprocessor, executing sequences of instructions containedin a memory, such as ROM, volatile RAM, non-volatile memory, cache or aremote storage device.

In various embodiments, hardwired circuitry may be used in combinationwith software instructions to implement the techniques. Thus, thetechniques are neither limited to any specific combination of hardwarecircuitry and software nor to any particular source for the instructionsexecuted by the data processing system.

Although some of the drawings may illustrate a number of operations in aparticular order, operations which are not order dependent may bereordered and other operations may be combined or broken out. While somereordering or other groupings are specifically mentioned, others will beapparent to those of ordinary skill in the art and so do not present anexhaustive list of alternatives. Moreover, it should be recognized thatvarious stages or components could be implemented in hardware, firmware,software or any combination thereof.

In the foregoing specification, the disclosure has been described withreference to specific exemplary embodiments thereof. It will be evidentthat various modifications may be made thereto without departing fromthe broader spirit and scope as set forth in the following claims. Thespecification and drawings are, accordingly, to be regarded in anillustrative sense rather than a restrictive sense.

What is claimed is:
 1. A system, comprising: at least one processor,ASIC, or field-programmable gate array configured to: receive a firstdata packet from a first data source, the first data packet including atag associated with the first data source; authenticate data of thefirst data packet; detect a tag of the first data packet that identifiesthe first data source; select a first set of keys based on the tag;encrypt the first data packet using the first set of keys; send, over anetwork, the encrypted first data packet to a storage; read, over thenetwork, the first data packet from the storage; detect the tag of thefirst data packet read from the storage; select the first set of keysbased on the detected tag; and decrypt the first data packet read fromthe storage using the first set of keys.
 2. The system of claim 1,further including a packet input engine configured to receive the firstdata packet and detect the tag in the first data packet, and a packetoutput engine configured to send the encrypted first data packet to thestorage.
 3. The system of claim 2, wherein the packet input engine isfurther configured to provide a signal to a key cache for selecting thefirst set of keys.
 4. A system comprising: at least one processor, ASIC,or field-programmable gate array configured to: receive a first datapacket from a first data source, the first data packet including a tagassociated with the first data source; authenticate data of the firstdata packet; select, in response to authenticating the data of the firstdata packet, a first key based on the tag; encrypt the first data packetusing the first key; send, over a network, the encrypted first datapacket to a storage; read, over the network, the first data packet fromthe storage; after reading the first data packet from the storage,decrypt the first data packet using the first key; and after decryptingthe first data packet, send the first data packet to the first datasource; and at least one switch or router configured to: when readingthe first data packet from the storage, detect the tag; and select afirst cryptographic engine and the first key for decrypting the firstdata packet based on the detected tag.
 5. The system of claim 4, furthercomprising at least one memory configured to store a plurality of keysincluding the first key.
 6. The system of claim 4, further comprising atleast one key cache, wherein the at least one processor, ASIC, orfield-programmable gate array is further configured to authorize accessto keys in the at least one key cache.
 7. The system of claim 4, whereina second key is selected for encrypting the first data packet, and thesecond key is selected based on the tag of the first data packet.
 8. Thesystem of claim 4, wherein the received first data packet furtherincludes a header, the header remains in the clear during encrypting ofthe first data packet, and the at least one processor, ASIC, orfield-programmable gate array is further configured to send the headerto the storage along with the encrypted first data packet.
 9. The systemof claim 4, wherein the first data packet is encrypted by a secondcryptographic engine, and the at least one processor, ASIC, orfield-programmable gate array is further configured to, after encryptingthe first data packet, zeroize the second cryptographic engine.
 10. Thesystem of claim 4, wherein the at least one processor, ASIC, orfield-programmable gate array includes a systolic-matrix array of FPGAsconfigured to support at least one security protocol.
 11. The system ofclaim 4, wherein the tag is a first tag that identifies a source ofdata, the first data packet further comprises a second tag, and the atleast one processor, ASIC, or field-programmable gate array is furtherconfigured to determine a type of packet based on the second tag. 12.The system of claim 11, wherein the first cryptographic engine isselected for encrypting the first data packet based on the second tag.13. A system comprising: at least one memory configured to store a key;and at least one processor, ASIC, or field-programmable gate arrayconfigured to: receive a first data packet from a first source, thefirst data packet including a tag associated with the first data source;authenticate data of the first data packet; select, in response toauthenticating the data of the first data packet, a first key based onthe tag; in response to receiving the first data packet, determine anassociation of the first data packet with the first source; select,based on the association of the first data packet with the first source,a first processor; encrypt, by the selected first processor using thefirst key, the first data packet; send the encrypted first data packetto storage; read the encrypted first data packet from the storage;detect the tag when reading the encrypted first data packet; and selectthe first processor and the first key for decrypting the encrypted firstdata packet based on the detected tag.
 14. The system of claim 13,wherein the at least one processor, ASIC, or field-programmable gatearray is further configured to select the first processor based on thetag.
 15. The system of claim 13, wherein the at least one processor,ASIC, or field-programmable gate array is further configured to includea packet input engine to receive the first data packet and detect thetag in the first data packet, and a packet output engine to send theencrypted first data packet to the storage.
 16. The system of claim 13,further including a key cache for storing the first key.
 17. The systemof claim 13, wherein the at least one processor, ASIC, orfield-programmable gate array is further configured to include an inputcryptographic core for encrypting the first data packet using the firstkey, and an output cryptographic core for decrypting the encrypted firstdata packet using the first key.
 18. A security device comprising: apacket input engine configured to receive a data packet from a datasource, authenticate the data source and provide a first key selectionsignal based on a detected tag in the data packet once the data sourceis authenticated; an input key cache configured to select, based on thefirst key selection signal, a first set of keys stored in the input keycache for encrypting the data packet; an input cryptographic coreconfigured to receive and encrypt the data packet using the first set ofkeys; and a packet output engine configured to receive and output theencrypted data packet to a storage device.
 19. The security device ofclaim 18, wherein the packet output engine is further configured toretrieve the encrypted data packet from the storage device and provide asecond key selection signal based on the detected tag in the encrypteddata packet.
 20. The security device of claim 19, further comprising: anoutput key cache configured to select, based on the second key selectionsignal, a second set of keys stored in the output key cache fordecrypting the encrypted data packet; and an output cryptographic coreconfigured to receive and decrypt the encrypted data packet, wherein thepacket input engine is further configured to receive and send thedecrypted data packet to the data source.
 21. The security device ofclaim 18, further comprising a key loader controller configured to loadthe first set of keys to be stored in the input key cache prior to thepacket input engine receiving the data packet, and to load a second setof keys to be stored in the output key cache prior to the packet outputengine receiving the encrypted data packet.
 22. A system comprising: aphysical interface; and at least one processor, ASIC, orfield-programmable gate array configured to: receive, via the physicalinterface, a first data packet from a first data source; encrypt thefirst data packet using a cryptographic engine; after encrypting thefirst data packet, zeroize the cryptographic engine; send, over anetwork, the encrypted first data packet to a data storage; read, overthe network, the first data packet from the data storage; after readingthe first data packet from the data storage, decrypt the first datapacket; and after decrypting the first data packet, send the first datapacket to the first data source.
 23. The system of claim 22, wherein thefirst data packet includes a tag associated with the first data source,and the cryptographic engine is a first cryptographic engine, the systemfurther comprising at least one switch or router configured to: whenreading the first data packet from the data storage, detect the tag; andselect a second cryptographic engine for decrypting the first datapacket based on the detected tag.